#ifndef WELCOMEWIDGET_H
#define WELCOMEWIDGET_H

#include <QWidget>
#include <gamewidget.h>

namespace Ui {
class WelcomeWidget;
}

class WelcomeWidget : public QWidget
{
    Q_OBJECT

public:
    explicit WelcomeWidget(QWidget *parent = 0);
    ~WelcomeWidget();
    void paintEvent(QPaintEvent *event);
    void closeEvent(QCloseEvent *event);
private slots:
    void on_exitGame_clicked();
    void on_startBtn_clicked();
private:
    Ui::WelcomeWidget *ui;
    GameWidget game;
};

#endif // WELCOMEWIDGET_H
